import React from 'react';
import { Input, Button, Checkbox } from 'antd';

function FormExtraContent({ onQueryNumChange, onContactPhoneChange }) {
  return (
    <div>
      <Input
        className="margin-right"
        style={{ width: 250 }}
        onChange={e => onQueryNumChange(e.target.value)}
      />
      <Button className="margin-right" type="primary">
        导出
      </Button>
      <Checkbox onChange={e => onContactPhoneChange(e.target.checked)}>联系电话</Checkbox>
    </div>
  );
}

export default FormExtraContent;
